package com.aaa.ssm.dao;

import com.aaa.ssm.entity.Department;
import com.aaa.ssm.entity.Factory;

import java.util.List;

public interface DepartmentDao {
    List<Department> queryByParam(Department department);
    Department queryById(Integer departmentId);
    int add(Department department);
    int update(Department department);
    int delete(Integer departmentId);
}
